package io.geekidea.boot.payment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.geekidea.boot.payment.entity.Payment;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;


@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {

    @Delete("delete FROM tb_payment where id = #{id}")
    int delByIdInt(int id);
}
